namespace JQuery.WebKit
{
    using System;

    internal class ToolBarSearching : BaseSearching
    {
        private WebGrid _grid;

        public ToolBarSearching(WebGrid grid) : base(grid)
        {
            this._grid = grid;
        }

        public SearchCriteriaCollection PerformSearch()
        {
            try
            {
                SearchCriteriaCollection collection = null;
                base.GetWhereClause(false, out collection);
                return collection;
            }
            catch (Exception)
            {
            }
            return null;
        }
    }
}

